package com.yb.blog.domain;

import java.util.List;

/**
 * 主页导航
 */
public class NavMenu {

    private int id;

    private int parentId;

    private String name;

    private int level;

    private int delete;

    private String router;

    private int disabled;

    private List<NavMenu> list;

    public NavMenu() {
    }

    public List<NavMenu> getList() {
        return list;
    }

    public void setList(List<NavMenu> list) {
        this.list = list;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getParentId() {
        return parentId;
    }

    public void setParentId(int parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getLevel() {
        return level;
    }

    public void setLevel(int level) {
        this.level = level;
    }

    public int getDelete() {
        return delete;
    }

    public void setDelete(int delete) {
        this.delete = delete;
    }

    public String getRouter() {
        return router;
    }

    public void setRouter(String router) {
        this.router = router;
    }

    public int getDisabled() {
        return disabled;
    }

    public void setDisabled(int disabled) {
        this.disabled = disabled;
    }

    @Override
    public String toString() {
        return "NavMenuDO{" +
                "id=" + id +
                ", parentId=" + parentId +
                ", name='" + name + '\'' +
                ", level=" + level +
                ", delete=" + delete +
                ", router='" + router + '\'' +
                ", disabled=" + disabled +
                ", list=" + list +
                '}';
    }
}
